<template>
  <div class="expand">
    <img class="expand-img" src="../assets/img/ex.png"/>
<!--    <div class="user">{{users1}}</div>-->
    <div class="logo1" @click="back1"></div>
  </div>
</template>

<script>
  export default {
    name: "expandCourse",
    data(){
      return{
      users1:"老师"
      }
    },
    methods:{
      back1(){
        window.location.href="https://smile.shec.edu.cn/";
      }
    },
    created() {
    //   let user = localStorage.getItem("username");
    //   let param = this.$route.query.username;
    //   if (param){
    //     this.users1=param;
    //   } else if (user == "undefined"){
    //     this.users1="老师"
    //   } else if(user){
    //     this.users1=user;
    //   }
    }
  }
</script>

<style lang="scss" scoped>
.expand{
  width: 100%;
  height: 100%;
  .expand-img{
    width: 100%;
    height: 100%;
  }
  .user{
    width: 5rem;
    height: 2rem;
    position: absolute;
    background: white;
    top: 2.5%;
    left: 78%;
    z-index: 999;
  }
  .logo1{
    position:absolute;
    top:2%;
    left:16%;
    width: 22%;
    height: 3.5%;
    opacity: 0.5;
    cursor:pointer;
    z-index:999;
  }
}
</style>